﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Routing;

namespace Bigger.Study.Web.Areas.Demo.Controllers
{
    [RoutePrefix("api/TestMyBlade")]
    public class TestMyBladeController : ApiController
    {
        /// <summary>
        /// API Demo
        /// </summary>
        /// <param name="firstName">性</param>
        /// <param name="lastName">名</param>
        /// <returns>姓名</returns>
        [Route("buildName")]
        public string MyBlade(string firstName,string lastName)
        {
            return firstName + " - " + lastName;
        }

    }
}
